package Exercise;

public class Test {
    public static void main(String[] args) {
        Frog f=new Frog("wangzi",1);
        f.swim();
        f.eat();

        Dog d=new Dog("hassik",4);
        d.swim();
        d.eat();


    }
}
